<template>
  <div>
    插槽的用法复习
    <!-- 插槽 -->
    <slot name="default" :age2="age" gender="男"></slot>

    <!-- {
      age2: 19,
      gender: '男'
    } -->
    <!-- <slot name="abc"></slot> -->
  </div>
</template>

<script>
export default {
  data() {
    return {
      age: 19
    }
  }
}
</script>

<style>

</style>